﻿using System.ComponentModel.DataAnnotations;

namespace Web.ViewModels
{
    public class ProduceModel
    {
        [Required(ErrorMessage = "*")]
        public string Name { get; set; }
        public string Category { get; set; }
        public string Producer { get; set; }
        public string Package { get; set; }
        public double Price { get; set; }
        public int Count { get; set; }
        public string About { get; set; }
        public string ProductArtUrl { get; set; }


        public int CategoryId { get; set;}
        public int ProducerId { get; set;}
        public int ProduceId { get; set; }
        public int PrepackageId { get; set; }

        public int ProduceInPackageId { get; set; }


    }
}